B-L-violating masses in softly broken supersymmetry