Kerber drops out of Olympics saying she needs a rest