Droplet generation and encapsulation chip