Stability of critical points for vector valued functions and Pareto efficiency