Journalists freed after two days of detention by security services