Study of ammonia molecule adsorbing on diamond (1 0 0) surface