The density property for complex manifolds and geometric structures