Developers seek to legalize tiny apartments in San Francisco, citing soaring rents