Liquid-solid coexistence via the metadynamics approach