England declare first innings on 589 runs