Quantum entanglement and Bell violation of two coupled cavity fields in a dissipative environment