Robin Williams struggled for years with alcohol and drug addiction: