Atomistic investigation of the temperature and size dependence of the energy barrier of CoFeB/MgO nanodots