First principles studies of elastic, electronic and optical properties of chalcopyrite semiconductor ZnSnP2