Combined second harmonic generation and polarization rotation using dispersion-engineered lithium niobate waveguides | Synapse