A first look at the SMACS0723 JWST ERO: spectroscopic redshifts, stellar masses and star-formation histories