Determining the thickness of graphs is NP-hard