Dielectric and thermoelastic properties of alkaline-earth fluoride crystals