Reflexivity of Algebras and Coalgebras