On the effective temperature scale of O stars