Why is heat capacity a path function and not a state function where as temperature is a state function.