A New Approach to Temporal Planning with Rich Metric Temporal Properties