energy stored in an inductor