Square ABCD has a side of length 1 cm and the diagonal BD of length √2 cm. What is the length of the diagonal AC?