Minimal surfaces with constant curvature in 4-dimensional space forms