Direct writing of gold and copper lines from solutions