Capturing Madrid's history – in photographs