HSBC profit misses estimates after taking $1.3B hit on bad debts