Optimum age replacement policy with two failure modes