Study of the antiferromagnetism of Mn5Si3: an inverse magnetocaloric effect material