US soldier pleads guilty to killing Afghan civilians