Comparative study of implantation-induced damage in GaAs and Ge: Temperature and flux dependence