An ultrahigh vacuum scanning tunneling microscope for surface science studies