Calibration of the liquid argon ionization response to low energy electronic and nuclear recoils with DarkSide-50