Schemes for forming barrier layers for copper in interconnect structures