Afghan soldier shoots dead US trooper