Iran detains journalist over online posts