Small-World And Ultrasmall-World Phenomena In Kernel-Based Spatial Random Graphs