Spin-resolved atomic orbital model refinement for combined charge and spin density analysis: application to the YTiO3 perovskite.