Rochester police chief resigns after days of violent protests