Diffractive production of heavy flavors and the internal structure of the pomeron