Damage detection in structures under variations of temperature and clamping conditions