Man pleads guilty to murder, rape charges