A novel energy regenerative shock absorber for in-wheel motors in electric vehicles