Amplitude equations for pattern forming systems