Shenandoah Telecommunications to buy North River Telephone Cooperative