Obama, whose administration prosecuted and spied on reporters, claims Trump is very bad for criticizing newsrooms