Influence of the double-layer capacity in periodically changing rate metal electrodeposition