Studies of quantum chromodynamics with the ALEPH detector