Five are dead, including two American soldiers, after a man dressed in an Afghan military uniform opened fire in a police training facility.