Thermodynamic anomalies, polyamorphism and all that