Stability of nuclear isomers