Bi3TeBO9: electronic structure, optical properties and photoinduced phenomena