Three-dimensional laser micromachining and imaging of biocompatible polymers