The use of first and of second order phase magnetic transition alloys for an AMR refrigerator at room temperature: a numerical analysis of the energy performances