Method and device for monitoring the risks for sudden infant death syndrom and for positional plagiocephaly