Gravar-mail: In situ X-ray diffraction investigation of electric-field-induced switching in a hybrid improper ferroelectric