Synthesis, photophysics and nonlinear optical properties of stilbenoid pyrimidine-based dyes bearing methylenepyran donor groups.