Constructing squeezed states of light with associated Hermite polynomials