Optical response of low-dimensional structures