Structure-related bulk losses in ZrO2 optical thin films