On the reliability of a two-unit redundant system with random switchover time and two types of repair