Charm couplings and form factors in QCD sum rules