Versatile silicon microwave photonic spectral shaper