Ex-US government official pleads guilty to sharing classified info