Reasoning about Actions with Temporal Answer Sets