Hurricane Florence weakens to tropical depression