Tightening information-theoretic generalization bounds with data-dependent estimates with an application to SGLD