Doubly Stochastic Variational Inference for Neural Processes with Hierarchical Latent Variables