Estimates on the generalization error of physics-informed neural networks for approximating a class of inverse problems for PDEs. (17th June 2021)