Economy shrinks by 0.1% in second quarter