Realogy earnings point to 'challenging year' for real estate