Effect of uniaxial stress on the acceptor ground state and on hopping conduction in p-type germanium and silicon