The diagonal of a square is 24 cm. What is the length of one side of the square?