On the matching polynomial of hypergraphs