Man pleads guilty, sentenced in neighborhood metal theft