Magnetic and optical studies of magnetic colloidal particles in water and oleic acid