A generalized equation for the prediction of melting temperatures of homopolymers and copolymers