Diet-mediated social networks in shoaling fish