Protein contact prediction from amino acid co-evolution using convolutional networks for graph-valued images