Fast prediction of spatio-temporal temperature profiles in FinFET arrays via numerical and machine-learning approaches