Polymorphism of molecules and complex ions in oxygen compounds of silicon and phosphorus