Bäcklund transformations and the infinite-dimensional symmetry group of the Kadomtsev-Petviashvili equation