Tunable, mesoporous lithium niobate particles with an active optical second harmonic generation (SHG) response.