Light availability determines distribution of aquatic communities