JPMorgan posts record $16.5B profit as Dimon warns of credit cycle