Novak Djokovic survived a scare against Kevin Anderson to force their match into a second day, while Serena Williams overcame sister Venus.