Transfer and fusion reactions of unstable nuclei