Hyperfine structure, Zeeman effect and isotope shift in the resonance lines of potassium.