Weis Markets president and CEO resigns