Fabrication of metal electrodes on flexible substrates by controlled deposition of conductive nano-ink