Statistical thermodynamic theory for the melting of n-alkanes from their rotator phases