Daly withdraws from British Open, plans to have surgery on elbow