Optimal planetary landing with pointing and glide-slope constraints