Photothermal effects during nanodiamond synthesis from a carbon aerogel in a laser-heated diamond anvil cell