Transition probabilities in Kr II and Kr III spectra