A simple and generalised P–T–V EoS for continuous phase transitions, implemented in EosFit and applied to quartz