Spain plans to turn foreclosed assets into 50,000 public housing units