A major incident has been declared in Bolton and other parts of Greater Manchester due to flooding.