Tight Bounds for Selfish and Greedy Load Balancing