A fire has torn through a retirement home in northern Spain, killing at least 10 elderly people and leaving two others in a critical condition.