Nonminimal supersymmetric standard model with lepton number violation