Preparation of BaSnO3 and Ba0.96La0.04SnO3 by reactive core–shell precursor: formation process, CO sensitivity, electronic and optical properties analysis