Does the ideal gas law apply to liquids or solids?