Florida police officer who mistook doughnut glaze for meth resigns