Improvements relating to adipic acid or caprolactam production