Tampa police chief resigns after golf cart traffic stop