Vacuum in a homogeneous gravitational field and excitation of a uniformly accelerated detector