Greek MPs have approved tough economic measures required to enable an €86bn eurozone bailout deal to go ahead.