Niloufar Hamedi tells court she 'performed her work as a journalist within the framework of the law,' according to her husband