A mid-IR study of Hickson compact groups - II. Multiwavelength analysis of the complete GALEX-Spitzer sample