Imaging electronic states on topological Dirac and Weyl semimetals using scanning tunneling microscopy