Quantized shells as a tool for studying semiclassical effects in general relativity