Autonomous phase mapping of gold nanoparticles synthesis with differentiable models of spectral shape