Temperature of groundwaters in coastal aquifers: some aspects concerning saltwater intrusion