Constraining dark energy models using the lookback time to galaxy clusters and the age of the universe