Internal rotation potential functions of an acryloyl fluoride molecule in the ground (S0) and excited (S1) electronic states