In a year of forced solitude, Barcelona rediscovers the companionship of books