Analysis and design of LC oscillators