Zero-forcing electrical filters for direct detection optical systems