Real-time methods in neural electrophysiology to improve efficacy of dynamic clamp