Japan works to contain nuclear reactor meltdowns