Givental's quantization method and integrable hierarchies