Two SF fires displace 30 people