Temperature dependence of the training effect in exchange coupled ferromagnetic bilayers