Josep Bartomeu resigns from his role as Barcelona president and says the club has accepted a proposal to join a future European Super League.