The variation of apparent bond lengths with temperature in molecular crystals