Entanglement and nonclassical properties of hypergraph states