Nanofibrous hydrogel with stable electrical conductivity for biological applications