Development of nanograined hexagonal barium ferrite thin films by sol–gel technique