COP calculation during defrost cycle