Gravar-mail: Polarization of microbial communities between competitive and cooperative metabolism