Method of determination of the effective capacity of refrigeration and A/C units of variable speeds