A simple X-ray standing wave technique for surface structure determination - theory and an application