Polarization-dependent filters based on chiral photonic structures with defects