Seniority number description of potential energy surfaces: Symmetric dissociation of water, N2, C2, and Be2.