Almost 500 jobs are at risk after part of the Boots company said it was looking to close two sites and cut back at a third.