The pieces you mentioned are excellent, although they come from a time in which sacred music was in decline. If you are interested in sacred music it may be worthwhile investigating the development of this tradition from the middle-ages through to Bach, where it played a much more central and significant role in the evolution of Western music.