Former Pateley Bridge police station sold for £297,000