Pricing derivatives by path integral and neural networks