Libya frees six foreign medics convicted in HIV case