GAMA/DEVILS: constraining the cosmic star formation history from improved measurements of the 0.3–2.2  μm extragalactic background light