Hilbert schemes, moduli spaces, and symplectic varieties