Direct-coupling analysis of residue coevolution captures native contacts across many protein families