Spin–orbit-induced hole spin relaxation in InAs and GaAs quantum dots