Cosmology with rolling tachyon