Temporal Granularity and Indeterminacy in Reasoning about Actions and Change: an Approach Based on the Event Calculus