Optical filters, their production and use