Apparel maker Castleblair has announced plans to shut down two of its Scottish factories at the cost of about 500 jobs, The Scotsman has reported.