Timing of dialysis in acute kidney injury using routinely collected data and dynamic treatment regimes