Deciphering links between bacterial interactions and spatial organization in multispecies biofilms