ADOPT: Modified Adam Can Converge with Any $\beta_2$ with the Optimal Rate