An intermolecular pair potential energy function for methane