Orbital controlled band gap engineering of tetragonal BiFeO3 for optoelectronic applications