Best Buy is closing stores and planning layoffs as sales slip