Dielectronic recombination and resonant transfer excitation for Ca12