Structural studies of CsD2AsO4 in the paraelectric phase and the ferroelectric phase