Dog ordinance violation leads to censure of NYS town judge