energy stored in capacitor is :