How are various types of coasts created?