Period integrals and Hodge modules