The correlation between the transverse and longitudinal magnetostriction in a polycrystalline MgB2 superconductor