Ethereum: How do “Pay to Script Hash” transactions work?