Electrodeposition of platinum metal on TiN thin films