Two plead guilty in attack on visiting researcher