Structural and magnetic properties of nanocomposites based on nanostructured polyaniline and titania nanotubes