Fitting ideals of finite modules