Wall Street banks posted second quarter financial results this week that signaled shrinking borrowing costs are hurting margins on deposits.