The loss rates of O + in the inner magnetosphere caused by both magnetic field line curvature scattering and charge exchange reactions