In right ABC, right-angled at B. AB = 5 cm and ∠ACB = 30°. Determine the length of the sides BC and AC.