Efficient phase-matched second-harmonic generation and sum-frequency mixing in urea