Network TV increasingly is losing prime-time viewers to online video outlets such as Netflix and Hulu