Pep Guardiola says the club did all they could to keep highly-rated teenager Brahim Díaz from leaving Manchester City for Real Madrid.