Fort Pierce accepts resignation of city attorney James Messer