Dense and porous ZnO thin films produced by pulsed laser deposition