Kristal, Oscillators, resonator