Barium ferrite thin films prepared by alternate deposition