Design and optimization of hybrid electric power systems for UAVs and helicopters.