Structural, magnetic, and magnetocaloric properties of bilayer manganite La1.38Sr1.62Mn2O7