Electron microprobe analysis and synchrotron diffraction study of crystalline (Nd0.5Y0.5)Ba2Cu3O7−δ