Optical conversion of pure spin currents in hybrid molecular devices