Some problems of parabolic type with discontinuous nonlinearities