derive mgf of geometric distribution