Sequential Neural Posterior and Likelihood Approximation