Transient analysis and cost optimization of a machine repair system with dual-phase repair, working vacation, and retrial