Man charged with allegedly stalking girlfriend from jail