Mesoscale diabatic processes in extratropical cyclones