Effective three-body interactions of neutral bosons in optical lattices