A cylindrical reformulation of Heegaard Floer homology