Analysis of an effective optical filtering technique to enhance microwave phase shifts based on slow and fast light effects