After winning the Eurovision Song Contest in 1974 with “Waterloo,” Atlantic Records president Jerry Greenberg signed them for the US. Then “Dancing Queen” happened