How is the work done by a force measured when (i) force is in direction of displacement, (ii) force is at an angle to the direction of displacement?