Why is it possible to calculate the density of a gas at STP, knowing only its molar mass, but it is not possible to make the same calculation for a solid or a liquid?