Scotland’s school libraries are being transformed with the support of a dedicated national programme aimed at improving literacy and boosting educational attainment.