Deep sea tests of a prototype of the KM3NeT digital optical module