Frustration driven lattice distortions in Li2VOSiO4 and VOMoO4