Electrical and mechanical properties of crosslinked polyanilines