HDFC AMC shares gain after Q2 profit rises 25%, revenue up 16%