Contact topology and hydrodynamics: I. Beltrami fields and the Seifert conjecture