Essex batsman Owais Shah has announced his retirement from four-day cricket to concentrate on his limited-overs commitments.