Bunched logics: a uniform approach