Billy Sharp became the Championship's all-time top scorer after scoring the opener in Sheffield United's 2-0 win against Peterborough.