Theoretical analysis of nth-order cascaded continuous-wave Raman fiber lasers. II. Optimization and design rules