Porto gain their first victory of this season's Champions League with three second-half goals to overcome Napoli.