Synthesis and characterisation of controllably functionalised polyaniline nanofibres