The Green Party gained ground in some of Labour’s London strongholds.