Mike Ertel, Florida's secretary of state, has resigned after pictures of him wearing blackface at a halloween party in 2005 have emerged.