What are the conditions which makes a marriage ceremony valid?