Multiferroic properties of nanostructured barium doped bismuth ferrite