A Range Prediction Method for All-Electric Aircraft by Capacity Discretization-Based Iterative Convex Programming