Joint quality management and control in self-pierce riveting