Holomorphic blocks in three dimensions