Competition between direct dissociation and resonant Auger decay: a quasi-classical model applied to the 2p−1 σ∗ states of HCl, DCl and Cl2