Collective subspaces for large amplitude motion and the generator coordinate method