Tuning of heat and charge transport by Majorana fermions