Silicate-melt inclusions in magmatic rocks: applications to petrology