They were mostly aimed at foreign and Afghan forces, but killed more civilians.