Malaysia and Singapore leaders have signed an agreement to create a special economic zone to attract global investment and ease the cross-border flow of goods and people.