Manchester City defender John Stones is facing an extended period out with a thigh injury and could require surgery, says manager Pep Guardiola.