Generalized convexity and characterization of (weak) Pareto-optimality in nonsmooth multiobjective optimization problems