Plasma-edge Gradients in L-mode and ELM-free H-mode JET Plasmas