US defense chief likens media to ‘Pharisees’ in criticism over Iran war coverage