Prosecutors say a home security technology hacked into cameras to see people undressing and having sex