Reliability analysis of multi-state system with three-state components and its application to wind energy