An optimal approach to the preliminary design of small hybrid-electric aircraft