The former chief executive of AstraZeneca has attacked the attempted takeover of the UK pharmaceuticals firm by its US rival Pfizer.