I think it boils down to the difference in the relationship between the sensor size and the sensor resolution of these two phones.
The L640XL has a 13.0MP 1/3 inch sensor.
The L730 has a 6.7MP 1/3.4 inch sensor.
The fraction in the sensor size basically says: the smaller the denominator, the larger the sensor. Hence, the L640XL has a slightly larger sensor than the L730, but notice how the resolution of the L640XL is almost twice the resolution of the L730. This means that the "light buckets"* in the sensor of the L730 are larger than that in the L640XL. Larger "light buckets" are more sensitive than smaller "light buckets", since larger ones can catch more light.
When a sensor cannot catch enough light, adjustments are made, such as increasing ISO level (e.g. from ISO-100 to ISO-400) and the signal is amplified. With signal amplification comes noise amplification. This results in the graininess of the photos.
There could be something else going on, but this is most likely the reason why the L730 produces photos with less noise compared to those produced by the L640XL. Nonetheless, these two phones should perform almost equally under bright day light (where signal amplification is rarely needed).
*- Each light bucket (or a certain cluster of buckets) translate to "1 pixel", in a way.