Effect of film thickness on interface and electric properties of BiFeO3 thin films