How is the location of chloroplasts consistent with the function of leaves?