The former Olympic swimmer spoke only to confirm his identity at the sentencing