Equations of state for ZnO and MgZnO by high pressure x-ray diffraction