Simulating hydrates in shallow marine sediments