The Green Party’s former co-leader Sian Berry has resigned from her role on the London Assembly, just three days after winning re-election.