Tunneling spectroscopy of passive films on iron and titanium