Femtosecond laser-induced refractive index changes in ophthalmic materials: multiparameter optimization and modeling