A-infinity structure on Ext-algebras