Spin relaxation and anticrossing in quantum dots : Rashba versus Dresselhaus spin-orbit coupling