Nonlinear optical response and biological applications of a series of pyrimidine-based molecules for copper(II) ion probe.