X-ray diffraction from the uniaxial and biaxial nematic phases of bent core mesogens