Surface processes occurring under reactive ion bombardment studied by secondary electron emission