The longitudinal study on the effect of competence and relatedness on the studying time through intrinsic motivation based on gender differences