Photoemission spectroscopy of heterojunctions of amorphous hydrogenated silicon with silicon oxide and nitride