Design of superconducting oscillating circuits with high Q-factor