Mellin–Barnes meets Method of Brackets: a novel approach to Mellin–Barnes representations of Feynman integrals