The retention of hydrocarbons in octadecanol monolayers