Methods for forming porous structures using a negative form which is filled and then removed by pyrolysis or dissolution