MOMENTS FOR A GENERAL BRANCHING PROCESS IN A SEMI-MARKOVIAN ENVIRONMENT