Homological dimensions of unbounded complexes