SF beats NY for highest median apt rent