External characteristic determination of eggs and cracked eggs identification using spectral signature