Porous deposits from the gas phase