The ASTRODEEP Frontier Fields Catalogues: I - Multiwavelength photometry of Abell-2744 and MACS-J0416