Controlled Pt deposition in membrane mesoporous top layers