Conditional diffusions for neural posterior estimation