Singularity formation in general relativistic dynamics of homogeneous scalar fields