Ultra-compact on-chip optical filters with narrow bandwidth