Nigel Farage resigns as UKip leader