X-ray and γ-ray emission from the PSR B1259-63/Be star system