Star-forming accretion flows: an explanation for the low luminosity nuclei of giant elliptical galaxies