British pharmacy to sell ‘smart pills’