The Araucaria project. Precise physical parameters of the eclipsing binary IO Aquarii