Square snaps up 'buy now, pay later' service Afterpay for $2