Solar and stellar granulation