Evolution of magnetocrystalline anisotropies in Mn1−xFexSi and Mn1−xCoxSi as inferred from small-angle neutron scattering and bulk properties