Electrochemical mechanism of ion current rectification of polyelectrolyte gel diodes