Tesla to begin repaying U.S. loans by end of 2012