Possible syntax, then:
Child of <parameters>:
<alternative-night-stats value="true">
<max-hp value="0" />
<max-ep value="0" />
<sight value="0" />
<attack-strenght value="0" />
<attack-range value="0" />
<armor value="0" />
<move-speed value="0" />
<production-speed value="0" />
<morph value="true">
<morph-skill value="morph_skill" />
<morph-unit name="werewolf"/>
</morph>
</alternative-night-stats>
This code uses snippets from the upgrade code and morph command code, potentially allowing the least number of changes (for you). Perhaps the "attack-strenght" element could also be defined by the proper spelling (or maybe just with the proper spelling). The parameters are all static values and accept negatives (so a sight value of -2 will reduce the sight by 2 at night). All tags should be optional and default to false/0, including the parent tag (<alternative-night-stats>) and morph tag (<morph>). The morph tag uses two key tags from the morph command (since we don't want there to be an actual command on the unit; we want the morphing to be automatic). It would tell us the morph skill to use (which would determine how fast the morphing is and the animation) and what we're morphing into (since that's normally done at the command level). The problem I see is that it might be possible to "skip" the morphing if you gave the unit a command during the animation. Optionally, you could try and code a way that the morphing cannot be skipped (other commands queue up after the morphing), but if that's too much, it should be fine with allowing it to skip.
And in addition to what Cygal said, don't forget to reset the stats when day comes around again. Also, consider what you're doing with minimum HP and EP. Are they going to increase/decrease based on the difference in the night stats? Or will they stay the same? I think the former works best, since the latter makes HP boosts useless unless the unit is quickly healed up. However, this also means the unit can be killed upon transformation if the form it morphs into has a difference in HP greater than the current HP. But I'm fine with that. Alternatively, it could never reduce the unit below 1 HP, allowing it to survive, but barely.
Good luck.