An X-ray survey for pre-main-sequence stars in the Taurus-Auriga and Perseus molecular cloud complexes