Electronic and magnetic phase diagram of superconductors, SmFeAsO1−xFx