Quasi-3D static and dynamic analysis of undamaged and damaged sandwich beams