Ab initio coupled-cluster calculations of ground and dipole excited states in He8