The right and wrong lessons to learn from Spain’s housing crisis