Solving digital image correlation with neural networks constrained by strain-displacement relations.