Kondo effect in coupled quantum dots with RKKY interaction: Finite temperature and magnetic field effects