Excess elastic energy and the instability of (GaAs)1(InAs)1(0 0 1), Ga3InAs4, GaIn3As4 and Ga1−xInxAs alloys