Langevin spin dynamics based on ab initio calculations: numerical schemes and applications