Chaos in pp-wave spacetimes