Rail line between Aberdeen and Dundee to reopen following train derailment