Nikola founder resigns as chairman amid allegations, SEC probe