Theory of scanning tunneling spectroscopy of fullerene peapods