Inter-residue distances derived from fold contact propensities correlate with evolutionary substitution costs