How to estimate carbon footprint when training deep learning models? A guide and review