Relativistic mean-field theory study of proton halos in the 2s1d shell