Terrestrial Laser Scanner for Controlling the Deformations and Damage of Buildings