Bank of America profit rises on bond trading, cost cuts