Hydrophobicity of self-assembled monolayers of alkanes