Explain the principles of operation and advantages of regenerative braking in electric and hybrid vehicles. How does regenerative braking improve energy efficiency and vehicle performance?