Frequency-agile bandpass filter for direct detection lidar receivers