Optical properties of small particles and composite materials