Which type of protein binds a ligand on the cell surface or within cells, often initiating a downstream signaling cascade or altering gene transcription?