Niche companies feature heavily in the best performing FTSE 350 stocks over the past 25 years