Iran president says some local media act like ’secret police’