The U.S. military in Afghanistan says two American soldiers have been charged with assaulting detainees at a coalition base in Uruzgan province .