The United States is evacuating some staff and families from its embassy in Niger amid a military coup.