Ab Initio Studies on the Structural and Electronic Properties of Bismuth Ferrite Based on Ferroelectric Hexagonal Phase and Paraelectric Orthorhombic Phase