Constraints on the electroweak phase transition in the singlet majoron model