Single-particle isomeric states in 121Pd and 117Ru