HPCL net doubles in Q2 on margin increase, inventory gains