Determination of the pressure dependent melting temperatures of Al and Ni using molecular dynamics