Calculated elastic constants of wide band gap semiconductor thin films with a hexagonal crystal structure for stress problems