Tampa police chief resigns over traffic stop