A dazzling history of the powerful women and men who forged a dynasty to rival the Mughals and the British.