The structure of 42Ca and 42Sc investigated by two-nucleon transfer reactions