Multi-wave solutions of the (2+1)-dimensional Nizhnik-Novikov-Veselov equations with variable coefficients