Core-periphery detection in hypergraphs