First principles study on the structural, magnetic and electronic properties of Te-doped BiF3