Quaternionic K\"ahler and hyperK\"ahler manifolds with torsion and twistor spaces