Measurements of forward energy flow and forward jet production with CMS