Doctor Who prepares for Capaldi farewell as first female Time Lord awaits