Conditions for carbon spherule formation under pressure