Band-gap energies and structural properties of doped Ba0.5Sr0.5TiO3 thin films