Basis-independent matrix elements for radiationless transitions and their application to intersystem crossing☆