A refrigerator operates with a coefficient of performance of 4.2 and requires an electrical input of 700 W. Determine the rate of heat transfer from the cold space of the refrigerator and the rate at which the refrigerator rejects heat energy to the surroundings.