Elastic anomalies at structural phase transitions : a consistent perturbation theory. I. One component order parameter