Condensation energies for metals on glass and other substrates