Manchester United boss Louis van Gaal says he has had "bad periods" at his previous clubs and praises the club's fans for standing behind their team during their eight-match winless streak.