Optical diagnostics for protein crystallization in space