A new study has warned that sleeping for too long can have surprising effects on your brain