A fully automated approach to calculate the melting temperature of elemental crystals