Senate confirms Rick Perry to lead Department of Energy