Phase behaviour of a simple fluid confined in a periodic porous material