Bank of America's second-quarter profit dropped as higher deposit costs pushed its interest income lower, but the results beat analysts' estimates, boosted