You have to subtract the "Mouse Y" axis rotation on each update, so just replace this:
rotationY = Input.GetAxis ("Mouse Y") * mouseSensitivity;
...with this:
rotationY -= Input.GetAxis ("Mouse Y") * mouseSensitivity;
It's also important that you don't use Camera.main.transform.Rotate, but uses localRotation instead (as you point out yourself).