Pieri algebras and Hibi algebras in representation theory