Making sense of boiling points and melting points