Lanthanide complexation: Inner versus outer sphere