A localized adaptor protein performs distinct functions at the Caulobacter cell poles