Two-proton pickup reaction (He-6,Be-8) on C-12, O-16, and F-19