Synthesis of a robust multifunctional composite with concurrent magnetocaloric effect and enhanced energy absorption capabilities through a tailored processing route