Optimal Regret Minimization in Posted-Price Auctions with Strategic Buyers