A planet on an inclined orbit as an explanation of the warp in the β Pictoris disc