Preparation of AgMo6S8 thin films by reactive sputtering