CrackNet: A CNN-based Framework for Automated Concrete Crack Detection