Constructions of Depth-2 Majority Circuits for Comparison and Addition using Linear Block Codes