Edinburgh libraries under threat, say campaigners