what does a real estate lawyer do