Brexit pledges shape UK election campaigns