Cordless hammer drill