Optical techniques for determining wax appearance temperature of waxy crude oil