Anchoring effect of distorted octahedra on the stability and strength of platinum metal pernitrides