Resonant second harmonic generation studies of p-nitrophenol adsorption at condensed-phase interfaces