Fabrication and characterizations of crosslinked porous polymer films with varying chemical compositions