Multicomponent decompositions for a sample of S0 galaxies