US airstrikes have killed dozens of civilians in Afghanistan, the International Committee of the Red Cross has said.