Polymorphism and piezochromicity in the three-dimensional network-based phosphate RbCuPO4.