Convergence of sampling Kantorovich operators in modular spaces with applications