Man mistakenly released from prison for two hours is returned by wife