Sensitivity analysis for multidimensional and functional outputs