Contact inhibition of growth described using a multiphase model and an individual cell-based model