Gravitational waves from electroweak phase transitions