Quantum size effects on the third order optical nonlinearity of CdS quantum dots in Nafion