Resonant sum frequency generation with time-energy entangled photons.