Optimal Design of Degradation Tests for Reliability Demonstration