Molecular dynamics studies of ice Ic and the structure I clathrate hydrate of methane