Phase diagrams and isotopic effects of normal and deuterated water studied via x-ray diffraction up to 4.5 GPa and 500 K