The extended coupled cluster method and the pairing problem