Town hall 'used own staff to boost library membership figures'