Factorization of Hermite subdivision operators preserving exponentials and polynomials