Preparation of thin layer materials with macroporous microstructure for SOFC applications