Stability and metastability of the logit dynamics of strategic games