Optoelectronic Vital Capacity Measurement for Restrictive Diseases