where was the beach movie filmed