External control of bacterial community structure in lakes