Evaluation of the Thermodynamic Efficiency of Solid-State Coolers and Generators Based on the Multicaloric Effect