Doctor charged in connection to Matthew Perry’s ketamine case appears in court