Rediscussion of eclipsing binaries. Paper VIII. The doubly-eclipsing quadruple star system V498 Cygni