A multi-timescale model predicts the spherical-to-cubic morphology crossover of magnetron-sputtered niobium nanoparticles