Witten diagrams revisited: the AdS geometry of conformal blocks