Text this: Electronic, dielectric, and optical properties of the B phase of niobium pentoxide and tantalum pentoxide by first-principles calculations