Hi, can someone please explain how regenerative braking works in vehicles such as electric cars? A diagram would be nice. Thank you.