Ex-doctoral student sentenced to prison in child porn case