The role of working memory capacity and interference resolution mechanisms in task switching