Condition-based opportunistic maintenance policies with two-phase inspections for continuous-state systems