Superelastic and shape memory effects for laminated SMA beams