After which battle did the english east india company quired the diwani right in bengal and became the revenue farmer of the mughal emperor.