As summer fades, many gardeners are tempted to tidy up their gardens, but pruning certain plants now can do more harm than good