Nonparametric optimal designs for degradation tests