Analysis of nonlinear free vibration of a beam with magnetic shape memory alloy elements