A changepoint analysis of spatio-temporal point processes