Temporal Planning with Temporal Metric Trajectory Constraints