Laser-ultrasound-based non-destructive testing—optimization of the thermoelastic source