The Bank of Nova Scotia reported its second-quarter profit fell compared with a year ago as it set aside more money for loan losses.