Constraints on the abundance of solid O2 in dense clouds from ISO-SWS and ground-based observations