Measurement of J/psi and psi(2S) prompt double