Learning representations for signal and data processing on directed graphs