Facile preparation of nanofibrous polyaniline thin film as counter electrodes for dye sensitized solar cells