Electron diffraction studies of the hydrides Si2H6 and P2H4