Two-nucleon stripping reactions on deformed nuclei