Quantization of inductively shunted superconducting circuits