Isothermal-isobaric computer simulations of melting and crystallization of a Lennard-Jones system