Banks losing ground to nonbanks in business lending