Energy Dissipation Preserving Physics Informed Neural Network for Allen-Cahn Equations