Beijing announces visa restrictions on U.S. in retaliation