Japan switches on nuclear reactor after safety shutdown