Thermal expansion, magnetostriction and elastic constants of UPd2Al3