Optical quantum sensing for biomolecular and environmental studies