Nick Kyrgios admits assaulting girlfriend, avoids conviction