High-throughput screening for superhard carbon and boron nitride allotropes with superior stiffness and strength