Analytic and holomorphic structures in Lie groupoids, algebroids, and Poisson geometry