A ‘time capsule’ of life aboard a wartime warship has been rediscovered by the crew of a British Royal Navy vessel.