Electrochemical polymerization in an SmG liquid crystal