Selection rules for vibronic d → d transitions of impurity ions in cubic KMgF3