Fine pattern transfer of functional organic polymers by nanoimprint