which is optically denser water or glass