Optics for the study of soft matter