The economy contracted by 0.3% between October and December, in a sharper fall than expected.