Collective aspects of pairing interaction in nuclei