Green synthesis approach to octahydroquinazolines and bisoctachydroquinazolines and study of their biological activities