The influence of the substrate on the transformations induced in Si by nanosecond laser irradiation: a time-resolved study