Bioactive polymeric scaffolds and nanoformulates in pain management and tissue engineering