Determination of the tilt and twist angles of curved GaN layers by high-resolution x-ray diffraction