Alcoa plans to shut down northern NY smelter