Fundamentals of Work Sampling for Productivity Measurement