Gambhir scores century in 2nd innings vs Gloucestershire