ONGC third-quarter profit beats estimate