Two NHS trusts in England have been hacked in recent weeks, the latest attacks to hit the national health service.