Electrochemical growth of metal interlayers in polyimide film