Energy dependence of the transverse momentum distributions of charged particles in pp collisions measured by ALICE