Johnson, Williams lead Nets past Bobcats, 99-78