Understanding and Improving the Maintenance Process: A Method and Two Case Studies