Use of AM1 and PM3 methods for the investigation of energies and structures of compounds O=PXYZ, S=PXYZ