An ambitious history of Britain’s volatile relationship with Europe, culminating in the 2016 referendum