The double population of Chamaeleon I detected by Gaia DR2