Charge Transfer in Iron and Cobalt Hexacyanoferrate Films: Effect of the Film Thickness and the Counterion Nature