Photocatalytic and magnetic behaviors observed in nanostructured BiFeO3 particles