UK economy contracts as wet weather and strikes hit activity