Regioselective synthesis of 2-pyrazolines and pyrazoles from ethyl α-cyanocinnamates