Temperature dependence of violation of Bell’s inequality in coupled quantum dots in a microcavity