Modeling Evolutionary Constraints And Improving Multiple Sequence Alignments Using Residue Couplings