The ASTRODEEP Frontier Fields catalogues: II. Photometric redshifts and rest frame properties in Abell-2744 and MACS-J0416