Structural evolution of the kagome superconductors AV3Sb5 (A = K, Rb, and Cs) through charge density wave order