Theoretical investigation of defect structure in B2 TrSc (Tr= Cd, Ru) alloys