2MASS wide field extinction maps. I. The Pipe nebula