Production of residual nuclei by 3He-induced reactions on 27Al and natCu