Directed and triangular flow of identified hadrons and light nuclei for fixed target energies at RHIC