Canonical and path-integral quantization of string cosmology models