Coupling between photons and exciton polaritons across surfaces of direct-gap semiconductors