Study of sound transmission through buildings using statistical energy analysis