Temperature dependence of the Dzyaloshinskii-Moriya interaction in ultrathin films