Converts a value from radians to degrees.