An IRAS survey of main-sequence B, A, and F stars