The formation and stability of self-assembled monolayers of octadecylphosphonic acid on titania