Gravar-mail: End-to-end differentiable learning of protein structure