Laser Beam Shaping by Means of Flexible Mirrors