I have recessed lights in my kitchen ceiling that I would like to put on a dimmer, but they are connected to two 3-way switches, one at each end of the kitchen. I have the same desire for my upstairs hall, but those lights are connected to three 3-way switches. How do I connect a dimmer in these two situations?