Combined Spectroscopy and Electrical Characterization of La:BaSnO$_3$ Thin Films and Heterostructures