Unexpected regioselectivity in the reaction between cycloalkenyl-1-diazenes and thioamides: useful entry to fused cycloalkyl-thiazoline and cycloalkyl-thiazoline-pyrazole systems