Squeezing via coupling of Bose–Einstein condensates in a double-well potential with a cavity light field