Random geometric graphs in high dimension