for circuits with either an inductor or capacitor, the current gets out of phase with the voltage. for these circuits how are the frequencies of the current and voltage related?

The frequency of the voltage, and the current are the same (but are out of phase).