What happens to a solid when it melts?