Generic radiation safety design for SSRL synchrotron radiation beamlines