Measurement of (p, n) thresholds at tandem energies