Joint optimization of preventive maintenance and spare parts inventory using genetic algorithms and particle swarm optimization algorithm