Approximate quantum-mechanical study of some molecular properties in ground and excited electronic states