Error Estimates for Finite Element Simulations Using Neural Networks