Combinatorial bases for multilinear parts of free algebras with two compatible brackets