A comparison between rare earth and transition metals working as magnetic materials in an AMR refrigerator in the room temperature range