Magnetocaloric and cooling properties of the intermetallic compound AlFe2B2 in an AMR cycle system