Cosmological measurements from void-galaxy and galaxy-galaxy clustering in the Sloan Digital Sky Survey