Hidden carbon layer may have sparked ancient bout of global warming