There is a week to go until residents of Catalonia hold a controversial independence referendum, which the Spanish government has dismissed as illegal.