Three-dimensional multilayered microstructure fabricated by imprint lithography