Variational approach to the dilute Bose gas