US troops wounded after Afghan soldier opens fire in base