Chaotic dynamics of a microbial system of coupled food chains