Polymorphism, Weak Interactions and Phase Transitions in Chalcogen–Phosphorus Heterocycles