Band structure calculations for semiconductors within the generalized density functionaltheory