Comparison of Time and State Based Preventive Maintenance Policies. A Simulation Approach