A phenomenological fitting curve for the magnetocaloric effect of materials with a second-order phase transition