Why do flowers have attractive and colorful petals?