Freed Israeli hostage apologises at funeral of wife, sons