Modeling and Nonlinear Optimal Control of N-Rotor VTOL Unmanned Aerial Vehicles