Charles's law states that