The g-factors of short-lived isomeric states in 108Ag and 110Ag