Libya frees AFP, Getty journalists