Polymorphism in M(H2PO2)3 (M = V, Al, Ga) compounds with the perovskite-related ReO3 structure.