Variance estimation for statistics computed from inhomogeneous spatial point processes