New exclusion limits on scalar and pseudoscalar axionlike particles from light shining through a wall