dolerite and granite are examples of