Extrinsic energy sources affect hardness through depth during set of a glass-ionomer cement.