Town of Tonawanda police officer resigns as part of guilty plea in connection with 2019 crash