Free energies of undercooled phases