Green Party leader says "of course I can carry on" after losing to Labour Party in the Holborn and St Pancras by-election.