Devices for fastening nuts to surfaces, e.g. sheets, plates by means of welding or riveting {by means of riveting}