Self-diffraction and Z-scan studies in organic dye doped thin films