Three-dimensional microstructures based on polyimide joints