Ian downgrades to tropical storm as millions are without power