How can I use Java code to shutdown or restart a computer?