Nonbanks gain upper hand in commercial real estate lending