Maine Mayor Shane Bouchard resigns following allegations of racist and sexist leaked messages