Mean transverse momentum as a mass composition estimator of cosmic rays