Bank of America beats on the bottom line, misses on the top