Four generations, the electroweak phase transition, and supersymmetry