Integrated spectral analysis of 18 concentrated star clusters in the Small Magellanic Cloud