Weighted path-based reliability allocation algorithm for phased-mission systems with phase redundancy