Using evolutionary covariance to infer protein sequence-structure relationships