Magnetic anisotropy and first-order magnetization processes in Sm(Fe1−xCOx)10M2 (M = Ti, Si) compounds