The ecology of bacterial attachment to phytoplankton