Theoretical study of formation routes and dimerization of methanimine and implications for the aerosols in the upper atmosphere of Titan