Measurements of relative transition probabilities of ns-4p, nd-4p, and nf-3d transitions in neutral potassium