Carbon nanodot-based heterostructures for improving the charge separation and the photocurrent generation